home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
Q-CHAT10.ZIP
/
QCHAT.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1995-03-21
|
2KB
|
177 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Integer INTEGER002
String STRING001
String STRING002
String STRING003
String TSTRING004(1)
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
;------------------------------------------------------------------------------
FOpen 1, PPEPath() + "qchat.cnf", 0, 0
FGet 1, TSTRING004(0)
FGet 1, TSTRING004(1)
FGet 1, STRING005
FGet 1, STRING008
FClose 1
STRING005 = Upper(STRING005)
BOOLEAN001 = 0
STRING003 = ""
STRING007 = ""
GetUser
INTEGER002 = U_PageLen
U_PageLen = 0
Print "@POFF@"
:LABEL001
If (BOOLEAN001) Goto LABEL002
STRING001 = ""
STRING002 = ""
STRING003 = ""
STRING001 = KInkey()
If ((STRING001 <> "") && (Len(STRING001) == 1)) Then
STRING003 = Upper(STRING001)
STRING007 = STRING007 + STRING001
Print TSTRING004(0) + STRING001
Endif
STRING002 = MInkey()
If ((STRING002 <> "") && (Len(STRING002) == 1)) Then
STRING003 = Upper(STRING002)
STRING007 = STRING007 + STRING002
Print TSTRING004(1) + STRING002
Endif
If (STRING003 == Chr(8)) Then
Print " "
Backup 1
Endif
If (STRING003 == Chr(13)) PrintLn "@POFF@"
If ((STRING003 == Chr(27)) && (STRING002 <> Chr(27))) BOOLEAN001 = 1
If ((STRING003 == Chr(32)) || (STRING003 == Chr(13))) STRING007 = ""
If ((STRING003 == "/") && (GetX() == 2)) Then
STRING006 = ""
Backup 1
InputStr STRING008 + " _", STRING006, 15, 3, Mask_Ascii(), 8
AnsiPos 1, GetY()
ClrEol
If ((Left(STRING006, 2) == "WH") && (Upper(STRING005) == "NONE")) PrintLn "@POFF@@WHO@"
If ((Left(STRING006, 2) == "WH") && (Upper(STRING005) <> "NONE")) Call STRING005
If (Left(STRING006, 2) == "QU") BOOLEAN001 = 1
If ((STRING006 == "?") || (STRING006 == "H")) Then
SaveScrn
Cls
PrintLn "@POFF@"
PrintLn "@X07QChat v1.00 available commands:"
PrintLn "@X08───────────────────────────────"
PrintLn
PrintLn "@X07 WH@X08: @X03show other nodes"
PrintLn "@X07 QU@X08: @X03quit qchat"
PrintLn "@X07 H, ?@X08: @X03this help"
PrintLn
Print "@X07...press any key..."
STRING009 = Inkey()
RestScrn
Endif
Endif
If ((GetX() == 80) && (Len(STRING007) < 79)) Then
Backup Len(STRING007)
ClrEol
PrintLn "@POFF@"
Print "@POFF@" + STRING007
Endif
If (Len(STRING007) == 79) STRING007 = ""
Goto LABEL001
:LABEL002
U_PageLen = INTEGER002
Print "@PON@"
KbdStuff Chr(27)
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 Cls
; 2 ClrEol
; 8 Goto
; 22 Let
; 7 Print
; 11 PrintLn
; 14 If
; 1 FOpen
; 1 FClose
; 4 FGet
; 1 GetUser
; 1 InputStr
; 1 KbdStuff
; 1 Call
; 1 AnsiPos
; 3 Backup
; 1 SaveScrn
; 1 RestScrn
;
;
; ■ Functions used :
;
; 7 +
; 17 ==
; 4 <>
; 1 <
; 7 !
; 7 &&
; 2 ||
; 5 Len(
; 5 Upper()
; 3 Left()
; 7 Chr()
; 1 Inkey()
; 1 Mask_Ascii()
; 1 PPEPath()
; 2 GetX()
; 1 GetY()
; 1 KInkey()
; 1 MInkey()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 6 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------